﻿namespace Game
{
    public abstract class SceneObjectStateTransition
    {
        public int fromState { get; private set; }
        public int toState { get; private set; }
        public int priority { get; private set; }
        
        public SceneObjectStateTransition(int fromState, int toState, int priority)
        {
            this.fromState = fromState;
            this.toState = toState;
            this.priority = priority;
        }

        public abstract bool CanTransfer(SceneObjectBTContext context);
    }
}